<!DOCTYPE html>
<html>
	<head>
    	<?php setlocale(LC_TIME,NULL); ?>
        <style type="text/css" media="all">
        	body{
				font:Arial;
				font-size:11pt;
				min-width:800px;
			}
			.head-surat{
				float:left;
				text-align:center;
				padding-left:1%
				margin-top:5px;
				
			}
			#title-surat{
				text-align:center;
				margin-left: 70px;
				font-size:14pt;
				margin-top:16%;
			}
			.table-list{
				border-collapse:collapse;
			}
			.table-list tr td{
				border:1px solid #000;
			}
			
			#head-table{
				text-align:center;
				font-weight:bold;
				font-size:9px;
			}
			
			.content-surat{
				padding-left:50px;
			}
			
			.content-surat .content{
				height:38px;
				width: 695px;
				padding-bottom:0%;
			}
			
			.content-surat label{
				float:left;
				margin-right: 13px;
				width: 30%;
			}
			
			.content .isiContent{
				position:relative;
				padding-left:200px;
			}
			
			.content-surat .sub-content{
				padding-left:50px;
				width: 600px;
			}
			
			.content-surat .sub-content label{
				float:left;
				width: 20px;
				height:10px;
				margin-top:5px;
			}
			
			.sub-content .content{
				float:left;
				height:10px;
				width: 300px;
				padding-top:4px;
			}
			
			.stamp label{
				float:left;
				width: 120px;
				height:10px;
				margin-top:5px;
			}
			.stamp .content{
				float:left;
				height:10px;
				padding-top:8px;
			}
			
			#footer-left{
				float:left;
				left:50%;
			}
			#footer-right{
				float:right;
				right::50%;
				font-size:11px;
				padding-right:5%;
			}
			.cap{
				text-transform:capitalize !important;
			}
			.line-separtor{
				height:1px;
				border-bottom:1px solid #000;
			}
			.line-separtor-stamp{
				height:1px;
				margin-top:2px;
				width:100%;
				border-bottom:1px solid #000;
			}
			#footer-left-coret{
				float:left;
				left::1%;
				font-size:11px;
			}
        </style>
    </head>
    <body style onLoad="window.print();">
    	<div class="head-surat">
			<?php if(substr(@$surat[0]['nama_sektor'], 0, 6) == "RESORT" ):?>
			<?php echo @$surat[0]['baris_pertama'];?><br/>
			<label>DAERAH JAWA TIMUR<br/></label>
				<?php echo @$surat[0]['nama_sektor'];?><br/>
				<u><?echo nbs(2);?><?php echo @$surat[0]['alamat_surat'];?><?echo nbs(2);?></u>
			<?php else:?>
				<label>POLRI DAERAH JAWA TIMUR<br/></label>
				<?php echo @$surat[0]['baris_kedua'];?><br/>
				<?php echo @$surat[0]['nama_sektor'];?><br/>
				<u><?echo nbs(2);?><?php echo @$surat[0]['alamat_surat'];?><?echo nbs(2);?></u>
			<?php endif;?>
        </div>
		<br/>
		<br/>
		<br/>
		<br/>
    	<div id="title-surat">
        	<b>
            	<u>SURAT KETERANGAN CATATAN KEPOLISIAN</u><br/>
                POLICE RECORD<br/>
            </b>
            <div style="font-size:12pt">Nomor : SKCK/YANMAS/<?php echo @$print_results[0]['no_agenda']?>/<?php echo @$print_results[0]['nomor_bulan']?>/<?php echo @$print_results[0]['nomor_tahun']?>/<?php if(substr(@$surat[0]['nama_sektor'], 0, 6) == "RESORT" ):?>SAT INTELKAM
			<?php else:?>SEKTOR<?php endif;?> <!--?php echo @$print_results[0]['nomor_sat']?--></div>
        </div>
        <br/>
    	<div class="content-surat">
        	<div class="content">
				<label><u>Diterangkan bersama ini bahwa </u><br/><i>This is to certify that</i></label>
				<div class="isiContent">
					:&nbsp;
				</div>
            </div>
        	<div class="content">
				<label><u>Nama</u><br/><i>Name</i></label>
            	<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['nama_pengaju']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Jenis Kelamin</u><br/><i>Sex</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['jk_pengaju']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Kebangsaan</u><br/><i>Nationality</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['nama_kebangsaan']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Agama</u><br/><i>Religion</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['nama_agama']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Tempat dan tgl. Lahir</u><br/><i>Place and date of birth</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['tempat_lahir_pengaju']?>, <?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_lahir_pengaju']))?>
				</div>
            </div>
        	<div class="content" style="padding-bottom: 10px">
				<label><u>Tempat tinggal sekarang</u><br/><i>Current address</i></label>
				<div class="isiContent">
					:&nbsp;<div style="word-break:break-all;margin-top:-18px;margin-left:6%"><?php echo @$print_results[0]['alamat_pengaju']?></div>
				</div>
            </div>
			<br/>
        	<div class="content">
				<label><u>Pekerjaan</u><br/><i>Occupation</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['nama_pekerjaan']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Nomor Kartu Tanda Penduduk</u><br/><i>Citizens card number</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['no_identitas_pengaju']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Nomor Paspor/KITAS/KITAP*</u><br/><i>Passport/KITAS/KITAP number</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['no_passport']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Rumus sidik jari</u><br/><i>Fingerprints Formula</i></label>
				<div class="isiContent">
					:&nbsp;
					<u><?echo nbs(2);?><?php echo @$print_results[0]['sidik_jari_atas']?><?echo nbs(2);?></u><br/>
					<span style="margin-left:2%"> 
					<?php echo nbs(4);?> <?php echo @$print_results[0]['sidik_jari_bawah']?>
					</span>
				</div>
            </div>
            <u>Setelah diadakan penelitian hingga saat dikeluarkan surat keterangan ini yang didasarkan kepada:</u>
        	<br/>
            <i>As of screening through the issue hereof by virtue of:</i>
            <br/>
            <div class="sub-content">
            	<label>a.</label>
                <div class="content">
                	<u>Catatan Kepolisian yang ada</u>
                    <br/>
                    <i>Existing Police record</i>
                </div>
                <br/>
                <br/>
                <label>b.</label>
                <div class="content">
                	<u>Surat keterangan dari Kepala Desa / Lurah</u>
                    <br/>
                    <i>Information from local Authorities</i>
                </div>
                <?php echo br(3);?>
                <?php if(@$print_results[0]['op_catatan'] == 1):?>
                <strong>
                	<u>pernah terlibat dalam kegiatan kriminal seperti tercantum pada pasal <?php echo @$print_results[0]['pasal']?> UU No. <?php echo @$print_results[0]['undang_undang']?></u>
                    <br/>
                    <i>the bearer hereof was involved in criminal acts qualifying article <?php echo @$print_results[0]['pasal']?> of Law Number <?php echo @$print_results[0]['undang_undang']?></i>
                </strong>
                <?php else:?>
                <strong>
                	<u>bahwa nama tersebut diatas tidak memiliki catatan atau keterlibatan dalam kegiatan kriminal apapun</u>
                    <br/>
                    <i>the bearer hereof proves not to be involved in any criminal cases</i>
                </strong>
                <?php endif;?>
                <br/>
                <label style="float:left;width:250px;height:10px">
                	<u>selama ia berada di Indonesia dari</u><br/>
                    <i>during his/her stay in Indonesia from</i>
                </label>
                <div style="float:left;margin-top:10px">
                	:&nbsp;<?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_lahir_pengaju']))?>
                </div>
                <br/>
                <br/>
                <label style="width:250px">
                	<u>sampai dengan</u><br/>
                    <i>to</i>
                </label>
                <div style="float:left;margin-top:10px">
                	:&nbsp;<?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_terbit_police']))?>
                </div>
            </div>
            <br/>
            <br/>
            <div style="text-align:center;height:13px">
            	<u>Keterangan ini diberikan berhubungan dengan permohonan</u><br/>
                <i>This certificate is issued at the request to the applicant</i>
            </div>
            <br/>
            <br/>
        	<div class="content">
				<label><u>Untuk keperluan/menuju*</u><br/><i>For the purpose</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo @$print_results[0]['keperluan']?>
				</div>
            </div>
        	<div class="content">
				<label><u>Berlaku dari tanggal</u><br/><i>valid from</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_terbit_police']))?>
				</div>
            </div>
        	<div class="content">
				<label><u>Sampai dengan</u><br/><i>to</i></label>
				<div class="isiContent">
					:&nbsp;<?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_akhir_berlaku']))?>
				</div>
            </div>
        </div>        
        <div id="footer-left"></div>
        <div id="footer-right">
			<table border="0">
				<tr>
					<td>
						<div class="stamp" style="font-size:12pt">
							<label><u>Dikeluarkan di</u><br/><i>Issued in</i></label>
							<div class="content">
								:&nbsp;<span class="cap">BLITAR</span>
							</div>
							<br/>
							<br/>
							<label><u>Pada tanggal</u><br/><i>On</i></label>
							<div class="content">
								:&nbsp;<?php echo strftime("%d %B %Y",strtotime(@$print_results[0]['tgl_terbit_police'])) ?>
							</div>
							<br/>
							<br/>
							<div class="line-separtor-stamp"></div>
						</div>
					</td>
				</tr>
				<tr>
					<td style="text-align:center;font-size:12pt">
						<strong>
							<?php if( @$print_results[0]['ttd_perwakilan'] == 1):?>
								a.n. 
							<?php endif;?>KEPALA KEPOLISIAN <?php echo @$surat[0]['nama_sektor'];?><br/>
							<?php echo strtoupper(@$penandatangan_kiri[0]['jabatan_penandatangan'])?>
							<?php echo br(5); ?>
							<u><?echo nbs(2);?>
								<?php echo strtoupper(@$penandatangan_kiri[0]['nama_penandatangan'])?><?echo nbs(2);?>
							</u>
							<br/>
							<?php echo strtoupper(@$penandatangan_kiri[0]['no_penandatangan'])?>
						</strong>
					</td>
				</tr>
			</table>
        </div>
		<div style="font-size:11pt;padding-left:2%">
			<?php echo br(15); ?>
			*)Coret yang tidak perlu
		</div>
    </body>
</html>



